<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="robots" content="index, follow" />
    <meta name="description" content="prodinvest" />
    <link href="/css/bitrix.css" type="text/css" rel="stylesheet" />
    <link href="/css/reset.css" type="text/css" rel="stylesheet">
    <link href="/css/global.css" type="text/css" rel="stylesheet">
    <link href="/css/page.css" type="text/css" rel="stylesheet">
    <link href="/css/pages.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/js/libs/jquery.min.js"></script>
    <script type="text/javascript" src="/js/libs/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="/js/libs/underscore-1.3.3-min.js"></script>
    <script type="text/javascript" src="/js/libs/math.js"></script>
    <script type="text/javascript" src="/js/libs/animation.js"></script>
    <script type="text/javascript" src="/js/libs/main.js"></script>
    <script type="text/javascript" src="/js/libs/resize-main-page.js"></script>
    <script type="text/javascript" src="/js/libs/resize-block.js"></script>
    
    <link rel="stylesheet" href="/css/print.css" type="text/css" media="print">
    <link href="/prodinvest.ico" rel="shortcut icon" type="image/x-icon">    
    <title><?=CHtml::encode($this->pageTitle)?></title>
</head>
<body>
<div id="panel"></div>
<?foreach($this->sites as $site):?>
<?if($site->name == 'main')://Yii::app()->request->getParam('siteName')):?>
<div id="<?=$site->name?>">
    <?=$content?>
</div>
<?else:?>
<div id="<?=$site->name?>" class="b-subpage">
	<a href="<?=$siteurl=$this->createUrl('site/show',array('lang'=>Yii::app()->language,'siteName'=>$site->name))?>" class="blind" style="background-color:<?=$site->color?>"><div class="wrapper"><img src="<?=$site->logomin?>" width="157" height="30"></div></a>
	<div class="header" style="background:url('<?=$site->background?>') no-repeat left -100px">		
    	<div class="wrapper">
           	<a href="<?=$siteurl?>"><img style="top:20px;" src="<?=$site->logo?>"></a>
		</div>
    </div>
</div>
<?endif;?>
<?endforeach;?>
<?=$this->renderPartial('//layouts/_services')?>
</body>
</html>
